import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class creditos here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class creditos extends boton
{
    /**
     * Act - do whatever the creditos wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
   public creditos(MundoMosco a) 
    {
        mundo=a;
       
    }    
    public void act() 
    {
         if(Greenfoot.mouseClicked(this))//Si dio clic
         {
             mundo.Cred();
         
         }
    }   
}
